package org.dxy.infrastructure.adapter.repository;

import lombok.RequiredArgsConstructor;
import org.dxy.domain.port.repository.IMBOMRepository;
import org.dxy.domain.model.aggregate.MBOMAggRoot;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ description:
 * @ author: dxy
 * @ createTime: 2025/9/11 0:16
 */
@Repository
@RequiredArgsConstructor
public class MBOMRepository implements IMBOMRepository {

    @Override
    public Long save(MBOMAggRoot mbomAggRoot) {
        return 0L;
    }

    @Override
    public MBOMAggRoot findById(Long id) {
        return null;
    }

    @Override
    public boolean existsByCode(String mbomCode) {
        return false;
    }

    @Override
    public List<MBOMAggRoot> findActiveByProductId(Long productId) {
        return List.of();
    }

    @Override
    public List<MBOMAggRoot> findByStatus(String status) {
        return List.of();
    }

    @Override
    public void deleteById(Long id) {

    }

    @Override
    public MBOMAggRoot findByMbomItemId(Long mbomItemId) {
        return null;
    }

    @Override
    public MBOMAggRoot findBySubstituteId(Long substituteId) {
        return null;
    }
}
